package com.yazi.mxz.server.response.mixin;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Member;
import com.yazi.mxz.common.entity.beans.Order;
import com.yazi.mxz.common.entity.beans.Store;
import com.yazi.mxz.server.response.view.OrderGoodsesView;
import com.yazi.mxz.server.response.view.StoreView;

public class OrderMixIn extends Order {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@JsonView(OrderGoodsesView.class)
	@JsonSerialize(contentAs=OrderGoodsMixIn.class)
	String orderGoodses;
	/*@Override
	public Set<OrderGoods> getOrderGoodses() {
		return super.getOrderGoodses();
	}*/

	@Override
	@JsonIgnore
	public Member getMember() {
		return super.getMember();
	}

	@JsonView(StoreView.class)
	@JsonSerialize(as=StoreMixIn.class)
	String store;
	/*@Override
	@JsonIgnore
	public Store getStore() {
		return super.getStore();
	}*/
	
}
